package com.base.service.impl;

import com.base.entity.FeeRecord;
import com.base.mapper.FeeRecordMapper;
import com.base.service.IFeeRecordService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.math.BigDecimal;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author 作者
 * @since 2024-11-30
 */
@Service
public class FeeRecordServiceImpl extends ServiceImpl<FeeRecordMapper, FeeRecord> implements IFeeRecordService {

    @Autowired
    private FeeRecordMapper feeRecordMapper;

    @Override
    public BigDecimal getTodayAmount() {
        return feeRecordMapper.getTodayAmount();
    }
}
